package com.atguigu.gulimall.gulimallorder.feign;

import com.atguigu.gulimall.gulimallorder.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: Zjn ; Bring it on !!!
 * @Date: 2021/11/24 0024 16:00
 * Note:
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {
    @GetMapping("/gulimallmember/memberreceiveaddress/{memberId}/address")
    List<MemberAddressVo> getAddress(@RequestParam("memberId") Long memberId);
}
